package com.heima.common.constant;

import org.apache.kafka.streams.kstream.Materialized;

public class GlobalConstant {
    public static final String TOKEN_NAME="token";
    public static final String LOGIN_TAG="/login";
    public static final String ID_TAG="id";
    public static final String USER_ID_TAG="userId";
    public static final String USER_TAG="user";
    public static final String TOKEN_TAG="token";
    public static final String TYPE_TAG="type";
    public static final String TEXT_TAG="text";
    public static final String IMAGE_TAG="image";
    public static final String VALUE_TAG="value";
    public  static final Integer OK_CODE=200;
    public static final String AUDIT_SUCCESS="审核成功";
    public static final String SHELF_FAILURE="上架失败";
    public static final String SENSITIVE_CONTENT_IN_THE_ARTICLE="文章中存在敏感内容";
    public static final String CHI_SIM_TAG="chi_sim";
    public static final Integer VERSION_INIT=1;
    public static final Integer Z_SET_STORAGE_TIME=5;
    public static final String LOCK_TAG="lock";
    public static final String DB_TO_REDIS="db_to_redis";
    public static final Integer REDIS_SCAN_COUNT=1000;
    public static final Integer THREAD_SLEEP_TIME=200;
    public static final String UP_OR_DOWN_TOPIC="up_or_down";
    public static final String ARTICLE_ID_TAG="articleId";
    public static final String ENABLE_TAG="enable";
    public static final String APP_INFO_ARTICLE_TAG="app_info_article";
    public static final String CONTENT_TAG="content";
    public static final String TITLE_TAG="title";
    public static final String PUBLISH_TIME_TAG="publishTime";
    public static final String CREATED_TIME_TAG="createdTime";
    public static final String HIGH_PRE_TAGS="<font style='color: red; font-size: inherit;'>";
    public static final String HIGH_POST_TAGS="</font>";
    public static final String H_TITLE_TAG="h_title";
    public static final String KEYWORD_TAG="keyword";
    public static final String ASSOCIATE_WORDS_TAG="associateWords";
    public static final String ADD_WM_USER="add_wm_user";
    public static final String FAN_PREFIX="fan:";
    public static final String FOLLOW_PREFIX="follow:";
    public static final String LIKE_PREFIX="like:";
    public static final String ARTICLE_PREFIX="article:";
    public static final String READ_PREFIX="read:";
    public static final String NO_LIKE_PREFIX="no_like:";
    public static final String COLLECTION_PREFIX="collection:";
    public static final String ARTICLE_READ_PREFIX=ARTICLE_PREFIX+READ_PREFIX;
    public static final String ARTICLE_LIKE_PREFIX=ARTICLE_PREFIX+LIKE_PREFIX;
    public static final String ARTICLE_NO_LIKE_PREFIX=ARTICLE_PREFIX+NO_LIKE_PREFIX;
    public static final String ARTICLE_COLLECTION_PREFIX=ARTICLE_PREFIX+COLLECTION_PREFIX;
    public static final String HOT_TAG="hot:";
    public static final Integer MAX_PAGE_SIZE=20;
    public static final Integer SEARCH_RECORD_MAX=10;
    public static final Short TRUE=1;
    public static final Short FALSE=0;
    public static final String USER_LIKE="user_like";
    public static final String USER_CANCEL_LIKE="user_cancel_like";
    public static final String USER_COLLECTION="user_collection";
    public static final String USER_CANCEL_COLLECTION="user_cancel_collection";
    public static final String USER_READ="user_read";
    public static final String ADD_AP_AUTHOR="add_ap_author";
    public static final Integer SCORE_DATE=5;
    public static final Integer SCORE_LIMIT=30;
    public static final Integer VIEW_WEIGHT=1;
    public static final Integer LIKE_WEIGHT=3;
    public static final Integer COMMENT_WEIGHT=5;
    public static final Integer COLLECT_WEIGHT=8;
    public static final String XXL_JOB_PREFIX="xxl-job:";
    public static final String XXL_JOB_HOT_SCHEDULE=XXL_JOB_PREFIX+"hot";
    public static final String XXL_JOB_BD_TO_REDIS_SCHEDULE=XXL_JOB_PREFIX+DB_TO_REDIS;
    public static final String HOT_ARTICLE_SCORE_STREAM_TOPIC="hot_article_score_stream_topic";
    public static final Long KAFKA_STREAM_INTERVAL=10L;
    public static final String KAFKA_STREAM_MATERIALIZED="kafka_stream_materialized";
    public static final String KAFKA_STREAM_BATCH_TOPIC="kafka_stream_batch_topic";
    public static final Integer SCORE_MUL_POWER=3;
    public static final String REPLACE_LIST_LUA="lua/replaceList.lua";




}
